package com.pengshun.modules.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Table(name = "jy_petrol_station_activity_detil")
public class JyPetrolStationActivityDetil implements Serializable {

    @ApiModelProperty(value = "加油站活动明细id ")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long petrolStationActivityDetilId;

    @ApiModelProperty(value = "加油站活动id ")
    private Long petrolStationActivityId;

    @ApiModelProperty(value = "满减金额 ")
    private BigDecimal fullReductionAmount;

    @ApiModelProperty(value = "减免金额 ")
    private BigDecimal mitigateAmount;

    private static final long serialVersionUID = 1L;
}